#ifndef CHANGENICKNAME_H
#define CHANGENICKNAME_H

#include <QDialog>
#include <QMessageBox>
#include "config.h"

namespace Ui {
class ChangeNickName;
}

class ChangeNickName : public QDialog
{
    Q_OBJECT

signals:
    void sendShowMe(); //发送信号显示我界面
    void sendNewNickNameToMe(); //发送信号传说新昵称给我界面
public:
    explicit ChangeNickName(QWidget *parent = 0);
    ~ChangeNickName();

    QString newNickName;

public slots:
    void recShowChangeNickName(); //接收信号显示修改昵称界面
private slots:
    void on_back_clicked();

    void on_change_clicked();

private:
    Ui::ChangeNickName *ui;
};

#endif // CHANGENICKNAME_H
